package net.hancl.modules.sys.listener;

import javax.servlet.ServletRequestEvent;
import javax.servlet.ServletRequestListener;
import javax.servlet.http.HttpServletRequest;

public class ProRequestListener implements ServletRequestListener {

    public void requestDestroyed(ServletRequestEvent sre) {

        HttpServletRequest httpServletRequest = (HttpServletRequest) sre
                .getServletRequest();
        System.out.println("ProRequestListener>requestDestroyed>"
                + httpServletRequest.getRequestURI());

    }

    public void requestInitialized(ServletRequestEvent sre) {
        HttpServletRequest httpServletRequest = (HttpServletRequest) sre
                .getServletRequest();

        System.out.println("ProRequestListener>requestInitialized>"
                + httpServletRequest.getRequestURI());

    }

}
